<!doctype html>
<html>
<head>
<link rel="icon" type="image/png" href="../images/favicon.png">
<link rel="stylesheet" type="text/css" href="../css/reset.css">
<link rel="stylesheet" type="text/css" href="../css/style.css">
<meta charset="utf-8">
<title>Dokk1, Much more then just a libray</title>
</head>

<body>
	<div id="filler"></div>
	<aside>
    	<a href="index.php"><div id="logo">
        	  <img src="../images/logo.png" alt="logo">
              <h6>“Much more than just a library”</h6>
        </div></a>
  
        <ul>
            <li><a href="mainsite.php?page=study.php"><h4>Need to study?</h4></a></li> <!--Overordnede listeelementer i sidemenuen er h4-->
            <li><a href="mainsite.php?page=bibliotek.php"><h5>Library</h5></a></li> <!--Underordnede listeelementer i sidemenuen er h5-->
            <li><a href="mainsite.php?page=faciliteter.php"><h5>Facilities</h5></a></li>
            <li><a href="mainsite.php?page=book_moederum.php"><h5>Book meeting room</h5></a></li>
            <li><a href="mainsite.php?page=book_studieceller.php"><h5>Book study room</h5></a></li> 
            
            <li><a href="mainsite.php?page=happening.php"><h4>What is happening?</h4></a></li>
            <li><a href="mainsite.php?page=workshops.php"><h5>Workshops</h5></a></li>
            <li><a href="mainsite.php?page=foredrag.php"><h5>lectures</h5></a></li>
            <li><a href="mainsite.php?page=arrangementer.php"><h5>events</h5></a></li>
            <li><a href="mainsite.php?page=kalender.php"><h5>calendar</h5></a></li>
            
            <li><a href="mainsite.php?page=info.php"><h4>Need info?</h4></a></li>
            <li><a href="mainsite.php?page=abningstider.php"><h5>open hours</h5></a></li>
            <li><a href="mainsite.php?page=kort.php"><h5>map</h5></a></li>
            <li><a href="mainsite.php?page=kontakt.php"><h5>contact</h5></a></li>
            
            <li><a href="mainsite.php?page=break.php"><h4>Need a break?</h4></a></li>
            <li><a href="mainsite.php?page=cafe.php"><h5>Café</h5></a></li>
            <li><a href="mainsite.php?page=havneomrade.php"><h5>The harbour area</h5></a></li>
        </ul>
        
	</aside>
    <?php
	$page = $_GET['page'];
	$pages = array('workshops.php', 'videnssoegning.php', 'udstyr.php', 'study.php', 'send_rum.php', 'menukort.php', 'kort.php', 'kontakt.php', 'kalender.php', 'info.php', 'havneomrade.php', 'happening.php', 'foredrag.php', 'faciliteter.php', 'cafe.php', 'break.php', 'book_studieceller.php', 'book_moederum.php', 'bibliotek.php', 'arrangementer.php','abningstider.php');
	if (!empty($page)) {
		if(in_array($page,$pages)) {
			include($page);
		}
		else {
		echo '<main class="study"><article><p>Page not found. Return to
		<a href="index.php">index</a></p></article></main>';
		}
	}
	else {
		include('study.php');
	}
	?>
    </main>
</body>
</html>